package it.unipd.dei.es1011.nucularc0d3.defaultproject;

import android.os.Bundle;
import android.preference.PreferenceActivity;

/**
 * Settings activity. It use PreferenceActivity instead of Activity. 
 * This because extending the class PreferenceActivity the class itself take care
 * of saving the content into sharedPreferences.
 * 
 * @author Luca Lazzarini
 *
 */
public class Settings extends PreferenceActivity  {
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		addPreferencesFromResource(R.xml.settings_preferences);
	}

}
